package com.itheima.myreflect2.Student.threaddemo1;

/**
 * @program: Myset
 * @description:
 * @author: xuejingjing
 * @create: 2021-06-17 16:55
 **/
public class MyThread extends Thread {

    @Override
    public void run() {
        //代码就是线程在开启之后执行的代码,
        //100.fori
        for (int i = 0; i < 100; i++) {
            System.out.println(this.getName()+i);
        }

    }
}
